<template>
  <div class="welcome">
    <div class="content">
      <div class="sub-title">欢迎</div>
      <div class="title">通用管理后台系统</div>
      <div class="desc">采用 xxx 技术实现</div>
    </div>
    <div class="img">
    </div>
  </div>
</template>

<script>
export default {
  name: "Welcome",
  methods: {
    toLogin() {
      this.$router.push("/login");
    },
  },
};
</script>

<style lang="scss">
.welcome {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  background-color: #fff;
  .content {
    /* width: 20vw; */
    .sub-title{
      font-size: 30px;
      line-height: 40px;
      color: #333;
    }
    .title{
      font-size: 50px;
      line-height: 65px;
      color: #333;
    }
    .desc{
      text-align: right;
      font-size: 20px;
      line-height: 35px;
      color: #333;
    }
  }
  .img{
    background-image: url(./../assets/images/welcome.jpg);
    height: 360px;
    width: 360px;
  }
}
</style>
